#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
#include <algorithm>


using namespace std;

void Test1()
{
	string str;
	int n = 3;
	cin >> str;
	cout << str.front();
}

void Test2()
{
    int n, a, b, back = 0;
    char c;
    string str;

    cin >> n;
    while (n--)
    {
        back = 0;
        cin >> a >> b >> str;
        for (int i = 0; i < a; i++)
        {
            if (i >= 2 && str[i] == 'W' && str[i - 1] == 'W' && str[i - 2] == 'W')
            {
                back += b;
            }
            else if (str[i] == 'W')
            {
                back += 1;
            }
            else { back -= 1; }
        }
        cout << back << endl;
    }
}

void Test2()
{
    int maxLength(vector<int>&arr) {

        int n = arr.size(), _max = 0, tmp = 1;
        for (int i = 1; i < n; i++)
        {
            if (arr[i] > arr[i - 1])
            {
                tmp++;
            }
            else
            {
                _max = max(_max, tmp);
                tmp = 1;
            }
        }
        _max = max(_max, tmp);

        return _max;
    }
}

void Test3()
{

}

int main()
{
	Test1();
	return 0;
}